package com.yuandian.api.management.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;


/**
 * agentip管理表-实体
 * @author zfsn
 * @date 2023-4-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "agentip管理表", description = "")
@TableName("conf_agent_ip")
public class ConfAgentIp extends Model<ConfAgentIp> {

	/**
	 *
	 */
	@ApiModelProperty(value = "表自增id", notes = "")
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 *
	 */
	@ApiModelProperty(value = "agentip信息", notes = "")
	private String agentIp;

	/**
	 *
	 */
	@ApiModelProperty(value = "别名", notes = "")
	private String aliasName;

	/**
	 * 判断是否超过阀值过滤掉该项)，多个以竖线分隔
	 */
	@ApiModelProperty(value = "排除磁盘分区(配置后", notes = "判断是否超过阀值过滤掉该项)，多个以竖线分隔")
	private String removeDiskPartition;

	/**
	 *
	 */
	@ApiModelProperty(value = "主机名", notes = "")
	private String hostName;

	/**
	 *
	 */
	@ApiModelProperty(value = "最后启动时间", notes = "")
	private LocalDateTime lastLaunchTime;

	/**
	 * 即探针传的最后更新时间
	 */
	@ApiModelProperty(value = "发现ip时间", notes = "即探针传的最后更新时间")
	private LocalDateTime lastUpdateTime;

	/**
	 * 0.正常； 1.删除
	 */
	@ApiModelProperty(value = "状态：", notes = "0.正常； 1.删除")
	private Integer status;

	/**
	 * 默认admin
	 */
	@ApiModelProperty(value = "创建者账号,", notes = "默认admin")
	private String createBy;

	/**
	 *
	 */
	@ApiModelProperty(value = "入库时间", notes = "")
	private LocalDateTime createTime;

	/**
	 * 默认admin
	 */
	@ApiModelProperty(value = "修改者账号,", notes = "默认admin")
	private String updateBy;

	/**
	 * 默认当前时间
	 */
	@ApiModelProperty(value = "修改时间,", notes = "默认当前时间")
	private LocalDateTime updateTime;

	/**
	 *
	 */
	@ApiModelProperty(value = "备注", notes = "")
	private String remarks;

}